package com.business.bean.baidu;

import lombok.Getter;
import lombok.Setter;
import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Table;
import net.sf.rose.jdbc.bean.annotation.Type;

@Setter
@Getter
@Table(name = "SYS_BAIDU_ACCOUNT", description = "百度AI帐号")
public class BaiduAiAccountBean {

	@Column(pk = true, type = Type.定长文本, description = "编号", canNull = false, size = 32, policy = "UUID")
	private String accountID = null;

	@Column(type = Type.变长文本, description = "应用名称", size = 50)
	private String applicationName = null;

	@Column(type = Type.变长文本, description = "AppID", size = 20)
	private String appID = null;

	@Column(type = Type.定长文本, description = "API Key", size = 100)
	private String apiKey = null;

	@Column(type = Type.定长文本, description = "Secret Key", size = 100)
	private String secretKey = null;

	/** 1：正常；2：停用 */
	@Column(type = Type.数字整型, description = "状态")
	private int state = 0;
	
}
